<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set var="nature_value"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" /></c:set>
<c:if test="${fn:substring(nature_value,0,1) eq 'A'}">
    <div class="t_bar">${param.title4 }</div>
    <table class="t_css table01" width="100%" border="0" cellpadding="0" id="orgCooperationInfo" cellspacing="1">
        <col width ="20%"/>
        <col width ="15%"/>
        <col width ="12%"/>
        <col width ="23%"/>
        <col width ="15%"/>
        <col width ="15%"/>
        <tr >
            <td align="right">是否开展产学研活动：</td>
            <td>
			<span name="organization/whether_industrial_activity_name">
			<x:out select="$xmlData/data/organization/whether_industrial_activity_name"/>
			</span>
            </td>
            <td align="right">合作方区域：</td>
            <td>
			<span name="organization/cooperation_area_name">
			<x:out select="$xmlData/data/organization/cooperation_area_name"/>
			</span>
            </td>
            <td align="right">合作经费（万元）：</td>
            <td align="center">
			<span name="organization/cooperation_fund">
			<x:out select="$xmlData/data/organization/cooperation_fund"/>
			</span>
            </td>
        </tr>
    </table>
    <div class="t_bar">合作单位（最多三家）</div>
    <table class="t_css table01" width="100%" border="0" cellpadding="0" id="orgCooperationUnitInfo" cellspacing="1">
        <tr align="center">
            <th width="5%">序号</th>
            <th width="40%">单位名称</th>
            <th width="55%">所属区域</th>
        </tr>
        <c:set value="0" var="index" scope="page" />
        <x:forEach select="$xmlData/data/product/org" var="org">
            <c:choose>
                <c:when test="${index<10}">
                    <c:set value="0" var="flag" scope="page" />
                </c:when>
                <c:otherwise>
                    <c:set value="" var="flag" scope="page" />
                </c:otherwise>
            </c:choose>
            <tr align="center" >
                <td align="center"  >
			<span name="product/org[${flag}${index}]@sequence_no">
				<x:out select="$org/@sequence_no" />
			</span>
                </td>
                <td align="left" >
			<span name="product/org[${flag}${index}]/gname">
				<x:out select="$org/gname" />
			</span>
                </td>
                <td align="left" >
			<span name="product/org[${flag}${index}]/belong_area_name">
				<x:out select="$org/belong_area_name" />
			</span>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page" />
        </x:forEach>
    </table>
    <div class="t_bar">${param.title5 }</div>
    <table class="t_css table01" width="100%" border="0" cellpadding="0" id="mainBusiness" cellspacing="1">
        <tr style="border:1px solid #B7D1E6">
            <th width="5%">序号</th>
            <th width="40%">主要产品名称</th>
            <th width="55%">领域</th>
        </tr>
        <c:set value="0" var="index" scope="page" />
        <x:forEach select="$xmlData/data/product/goods" var="goods">
            <c:choose>
                <c:when test="${index<10}">
                    <c:set value="0" var="flag" scope="page" />
                </c:when>
                <c:otherwise>
                    <c:set value="" var="flag" scope="page" />
                </c:otherwise>
            </c:choose>
            <tr align="left" >
                <td align="center" >
				<span name="product/goods[${flag}${index}]@sequence_no">
						<x:out select="$goods/@sequence_no" />
				</span>
                </td>
                <td align="left" >
					<span name="product/goods[${flag}${index}]/gname">
						<x:out select="$goods/gname" />
					</span>
                </td>
                <td align="left" >
					<span name="product/goods[${flag}${index}]/field">
						<x:out select="$goods/field" />
					</span>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page" />
        </x:forEach>

    </table>
</c:if>
